DataGrid How To's
How to's for the DataGrid guide.
How to Use DataGrid?
How to Use DataGrid?
The steps below describe how to add a DataGrid to a form and configure its essential properties.
1. Add the DataGrid Component to the Form
- Open the form design screen.
- Go to the
Toolboxpanel. - Locate the
DataGridcomponent. - Drag and drop it onto the form.
2. Configure General Properties
When the DataGrid is selected, the Property Viewer panel appears on the right.
From this panel, you can configure:
Column Settings
- Add or remove columns
- Set data types
- Adjust width, alignment, and formatting
Data Source Binding
- Select a DataSource
- Automatically generate columns
Appearance Settings
- Paging (pagination)
- Sorting
- Filtering
- Selection mode
Action Buttons
- Add custom action buttons for each row
3. Configure Events
DataGrid supports a wide range of client-side and server-side events, such as:
RowInsertedRowUpdatedRowRemovedToolbarButtonClickActionButtonClickRowDblClickSelectionChanged
Each event can be used to implement business logic or trigger operations.
4. Working with a Data Source
To bind a DataGrid to a data source:
- Select the data source
- Click
Generate Columns - Adjust the generated columns as needed
The DataGrid will automatically display values from the connected dataset.
5. Common Usage Scenarios
| Scenario | Description |
|---|---|
| Row selection | Update other form fields based on the selected row |
| Action buttons | Open forms, start workflows, open selection dialogs |
| Reporting | Display processes or records in a tabular view |
| Data entry | Allow users to add rows to a table |
| Interactive operations | Filtering, sorting, and searching |
Conclusion
DataGrid is a flexible, powerful, and highly versatile table component.
When properly configured, it provides significant convenience for workflow management, reporting, and data processing.
How to Export DataGrid Data
How to Export DataGrid Data
Steps
- Select the
DataGridcomponent. - Click the
Appearancetab. - Enable the
Export to Exceloption. - Save the form.
- In the web interface, use the
Export to Excelbutton.
Notes
- Columns marked as
Disable to Exportare not included in the export. - Exporting large data sets may take longer to complete.
How to Enable Sorting
How to Enable Sorting in DataGrid
Steps
- Select the
DataGridcomponent. - Navigate to the
Sorting Settingssection. - Choose a value for the
Modeoption:nonesinglemultiple
- Ensure that the desired columns are marked as sortable.
Notes
- Multi-column sorting provides greater flexibility for users.
- Sorting can be handled either
client-sideorserver-side, depending on the configuration.
How to Enable Paging
How to Enable Paging in DataGrid
Steps
- Select the
DataGridcomponent. - Click the
Behaviortab. - Navigate to the
Paging Settingssection. - Enable the
Enabledoption. - Set the
Paging Sizevalue. - Optionally:
- Customize the available
Paging Sizesoptions.
- Customize the available
Notes
- Paging is recommended for large data sets.
- Paging cannot be used together with
Virtual Scrolling.
How to Use Client Enabled?
What is Client Enabled?
Client Enabled is a property that defines whether a form control is active (enabled) on the client side when the form is first loaded.
If it is set to True, the control is immediately usable by the user.
If it is set to False, the control is disabled and cannot be interacted with until a specific condition or rule activates it.
This property is especially useful for controlling the user’s interaction flow and applying dynamic behaviors using the Rule Manager.
What Does It Do?
The property allows developers to:
- Control when a form control becomes interactive.
- Prevent users from entering or changing data until prerequisites are met.
- Dynamically enable or disable controls based on user input or logic.
Example Scenario — Conditional Activation
Scenario:
A form contains a checkbox called “I Accept Terms” and a text field called “Signature.”
The goal is to make the “Signature” field inactive until the user checks “I Accept Terms.”
Steps to Implement:
-
Select the “Signature” fieldin the form editor. -
In the
Propertiespanel, find theClient Enabledfield. -
Set the value to
False— the field will now be disabled by default when the form loads. -
Open the
Rule Manager. -
Add a new rule:
Condition:
Action:
- Save and publish the form.
Result:
- When the form loads, the “Signature” field is disabled.
- Once the user checks “I Accept Terms,” the field automatically becomes active and editable.
Behavior Summary
| Property State | Description |
|---|---|
True | The control is active and ready for user interaction when the form loads. |
False | The control is disabled at load time and can be enabled dynamically via rules or code. |
Notes & Best Practices
- Use the
Client Enabledproperty to manageclient-side interactivitywithout requiring server actions. - Combine it with
Rule Managerto define when and how controls become active. - Remember: if
server enablementis disabled, the client cannot enable the control even ifClient Enabledis set toTrue. - By default, this property is set to
True(active).
Summary
Client Enabled improves form usability by letting developers control when and how users interact with form controls.
It is essential for creating responsive, condition-based form experiences where user actions dynamically change the form’s state.
What Is DataGrid?
What Is DataGrid?
DataGrid is a highly capable form component used to display values from a data source in a table layout, allow users to select rows, perform add–update–delete operations, and interact with the data presented in the grid.
It is one of the most commonly used components in form designs and workflow applications.
Where Is It Used?
- Reporting screens for initiated processes
- Displaying tabular data on forms
- Scenarios requiring row-based operations
- Showing data from another form as a table
- Data selection, editing, or listing operations
- Cases where the user must take action via grid rows
Key Features
- Can be bound to a data source
- Supports adding, editing, and deleting rows
- Column customization (type, length, format, etc.)
- Ability to add action buttons
- Trigger processing through events
- Strong interaction capabilities (selection, filtering, sorting, searching)
- Various layouts and extensible structure
Using DataGrid with a Data Source
DataGrid can connect to a data source and automatically generate its columns.
The values displayed in the grid remain up-to-date according to the data source results.
Drag-and-Drop Placement
When the form design screen is active:
- Locate
DataGridin theToolboxpanel. - Drag and drop it onto the form.
- Click the object to configure settings through the
General,Label,Behavior,Appearance, andEventstabs.
How to Configure DataGrid Columns
How to Configure DataGrid Columns
Steps
- Select the
DataGridcomponent on the form design screen. - In the
DataSourcepanel, navigate to theColumnssection. - Click
Addto define columns manually. - For each column, configure the following properties:
NameCaptionWidthData TypeVisibleAlign
- Save your changes.
Notes
- The column order determines the display order in the table.
- For responsive behavior, you can use
Hiding Priority.
How to Enable Row Selection
How to Enable Row Selection in DataGrid
Steps
- Select the
DataGridcomponent. - Navigate to the
Selection Settingssection. - Enable the
Enabledoption. - Choose a
Mode:SingleMultiple
- If needed, configure the
Show Checkboxesoption.
Notes
- Use
Mode = Multipleto allow selecting more than one row.
How to Enable Filtering
How to Enable Filtering in DataGrid
Steps
- Select the
DataGridcomponent. - Click the
Behaviortab. - Navigate to the
Filtering Settingssection. - Enable the
Row Filter Enabledoption. - Verify the data types of the columns you want to filter.
Notes
- Filter options vary depending on the column data type.
- Be mindful of performance when filtering large data sets.